<?php
namespace app\klingai\controller;
use think\Db;
use app\model\KlingaiRecord as RecordModel;

use Firebase\JWT\JWT;


class Audio extends Base
{   
    // 文生音效
    public function text_to_audio(){
        $price = 0.3;

        $result = $this->commonAction($price);
        echo $result;
    }

    // 视频生音效
    public function video_to_audio(){
        $price = 0.3;

        $result = $this->commonAction($price);
        echo $result;
    }

    // 语音合成
    public function tts(){
        $price = 0.05;

        $result = $this->commonAction($price);
        echo $result;
    }


}
